package edu.nbut.hotel.model.enums;

public enum Authority {
    NORMAL(1),SUPER(2);
    public int value;
    Authority(int v){  value = v;}
    public static Authority value(int value){
        switch (value){
            case 1:return Authority.NORMAL;
            case 2:return Authority.SUPER;
        }
        return null;
    }
}
